package com.example.demo.excel;

import com.zcily.utils.excel.ExcelField;

import java.math.BigDecimal;
import java.util.Date;

public class ExcelEntity {
    @ExcelField(value = "整数", order = 1)
    private Integer a;

    @ExcelField(order = 9)
    private Long b1;

    @ExcelField(order = 8)
    private Double b2;

    @ExcelField(value = {"C", "C1"}, order = 2)
    private BigDecimal c1;

    @ExcelField(value = {"C", "C2", "C21", "C211"}, order = 6)
    private String c211;

    @ExcelField(value = {"C", "C2", "C21", "日期C212"}, dateFormatPattern = "yyyy-MM-dd HH:mm:ss", order = 5)
    private Date c212;

    @ExcelField(value = {"C", "C2", "C22"}, order = 4)
    private String c22;

    @ExcelField(value = {"C", "C3"}, order = 3)
    private String c3;

    @ExcelField(order = 7)
    private String d;

    public Integer getA() {
        return a;
    }

    public void setA(Integer a) {
        this.a = a;
    }

    public Long getB1() {
        return b1;
    }

    public void setB1(Long b1) {
        this.b1 = b1;
    }

    public Double getB2() {
        return b2;
    }

    public void setB2(Double b2) {
        this.b2 = b2;
    }

    public BigDecimal getC1() {
        return c1;
    }

    public void setC1(BigDecimal c1) {
        this.c1 = c1;
    }

    public String getC211() {
        return c211;
    }

    public void setC211(String c211) {
        this.c211 = c211;
    }

    public Date getC212() {
        return c212;
    }

    public void setC212(Date c212) {
        this.c212 = c212;
    }

    public String getC22() {
        return c22;
    }

    public void setC22(String c22) {
        this.c22 = c22;
    }

    public String getC3() {
        return c3;
    }

    public void setC3(String c3) {
        this.c3 = c3;
    }

    public String getD() {
        return d;
    }

    public void setD(String d) {
        this.d = d;
    }
}
